From 4a80bb4ae35511832d0af3912715b5006b0a50ec Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Fri, 20 Apr 2007 17:32:30 +0100 Subject: [PATCH] [XEND] Fix test for when to record HVM VNC console as a VFB. This code may still need more work to properly integrate HVM SDL consoles. Signed-off-by: Tim Deegan --- tools/python/xen/xend/XendConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/python/xen/xend/XendConfig.py b/tools/python/xen/xend/XendConfig.py index a85be3fae6..5082b274cc 100644 --- a/tools/python/xen/xend/XendConfig.py +++ b/tools/python/xen/xend/XendConfig.py @@ -691,7 +691,7 @@ class XendConfig(dict): self['vtpm_refs'] = cfg.get('vtpm_refs', []) # coalesce hvm vnc frame buffer with vfb config - if self.is_hvm() and self['platform'].get('vnc', 0): + if self.is_hvm() and int(self['platform'].get('vnc', 0)) != 0: # add vfb device if it isn't there already has_rfb = False for console_uuid in self['console_refs']: -- 2.30.2